import { Entity,Column,PrimaryGeneratedColumn, OneToOne, JoinColumn} from 'typeorm'
import { Admin } from './admin.entity';

@Entity()
export class Admin_Dat{

    @PrimaryGeneratedColumn()
    id:number

    @Column()
    height:number

    @Column()
    weight:number

    @Column()
    skillname:String

    @OneToOne(() => Admin)
    @JoinColumn({name:'admin_id'})
    admin:Admin
}
